﻿using System;
using System.Collections.Generic;

namespace wcfsef.Services.Contracts
{
    public interface IPersistableEntityService<TEntity>
    {
        List<TEntity> List();

        Guid Create(TEntity entity);

        void Update(TEntity entity);

        void Delete(TEntity entity);

        TEntity Get(Guid id);
    }
}
